//
//  MYShopSalesOrderInsuranceCell.swift
//  MuYing
//
//  Created by tbb on 2019/7/30.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYShopSalesOrderInsuranceCell: MYShopSalesOrderRightBtnCell {

    @objc lazy var detailsBtn: UIButton = {
        let detailsBtn = UIButton(type: .infoDark);
        detailsBtn.tintColor = UIColorFromHex(rgbValue: 0xC3C3C3);
        return detailsBtn
    }()
    
    override func layoutSubviews() {
        super.layoutSubviews();
        
        self.contentView.addSubview(self.detailsBtn);
        self.detailsBtn.mas_makeConstraints { (make) in
            make?.left.mas_equalTo()(self.textLb.mas_right)?.mas_equalTo()(12);
            make?.centerY.mas_equalTo()(0);
            make?.size.mas_equalTo()(CGSize(width: 14, height: 14));
        }
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
